package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 二层展示对象 tower_level
 * 
 * @author ruoyi
 * @date 2024-08-31
 */
public class TowerLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 关联的一级塔 */
    @Excel(name = "关联的一级塔")
    private Integer towerId;

    /** 当前层名 */
    @Excel(name = "当前层名")
    private String title;

    /** 当前层封面 */
    @Excel(name = "当前层封面")
    private String imgurl;

    /** 塔层级 */
    @Excel(name = "塔层级")
    private Integer towerLevel;


    private BigDecimal price;

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTowerId(Integer towerId) 
    {
        this.towerId = towerId;
    }

    public Integer getTowerId() 
    {
        return towerId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setImgurl(String imgurl) 
    {
        this.imgurl = imgurl;
    }

    public String getImgurl() 
    {
        return imgurl;
    }
    public void setTowerLevel(Integer towerLevel) 
    {
        this.towerLevel = towerLevel;
    }

    public Integer getTowerLevel() 
    {
        return towerLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("towerId", getTowerId())
            .append("title", getTitle())
            .append("imgurl", getImgurl())
            .append("towerLevel", getTowerLevel())
            .toString();
    }
}
